package com.huawei.kidsCenter;

import android.os.Bundle;
import android.view.MenuItem;
import com.huawei.appmarket.R;
import com.huawei.edukids.AbstractEduKidsMainActivity;
import o.ckm;
import o.dgh;
import o.dgm;
import o.Logger;
import o.CollectCheck;
import o.evk;
import o.ext;

public class KidsCenterMainActivity extends AbstractEduKidsMainActivity {
    private long ˊॱ;

    public void onCreate(Bundle bundle) {
        Logger.ˏ("KidsCenterActivity", "onCreate");
        super.onCreate(bundle);
        this.ˊॱ = dgh.ॱ();
    }

    public void ˎ(boolean z) {
        dgh.ˋ(this, "310201", this.ˊॱ);
        super.ˎ(z);
    }

    public void ˏˏ() {
        if (!dgm.ˋ()) {
            super.ˏˏ();
        }
    }

    public void ˏ(MenuItem menuItem, int i) {
        super.ˏ(menuItem, i);
        if (this.mColumnNavigator != null && !CollectCheck.isEmpty(this.mColumnNavigator.getColumn()) && i < this.mColumnNavigator.getColumn().size()) {
            dgh.ॱ(this, "310301", ((ckm) this.mColumnNavigator.getColumn().get(i)).ˊ());
        }
    }

    public void ˊˊ() {
        dgm.ˋ(17, this, R.string.kidschannel_app_name, "kidscenter.activity");
    }

    public void ᐝˊ() {
        dgm.setEnd(17);
    }

    public String ᐝˋ() {
        return getString(R.string.kidschannel_not_support);
    }

    public void doubleExist() {
        evk.ˋ(this, getString(R.string.touch_again_exit_kidschannel), 0).ˋ();
    }

    public String ᶥ() {
        return getString(R.string.kidschannel_app_name);
    }

    public String ꜟ() {
        return "appmarket.kidsCenter";
    }

    public ext ᐨ() {
        ext o_ext = new ext();
        o_ext.ˊ(R.drawable.kids_center_icon);
        o_ext.ˎ(getString(R.string.kidscenter_launcher_name));
        o_ext.ˊ("appmarket.kidsCenter");
        o_ext.ˋ("com.huawei.kidsCenter.intent.action.KidsCenterActivity");
        return o_ext;
    }

    public Class<?> ꓸ() {
        return KidsCenterActivity.class;
    }

    public String ㆍ() {
        return getString(R.string.shortcut_delete_failed, new Object[]{getString(R.string.kidscenter_launcher_name)});
    }
}
